#include <stdio.h>

int main()
{
	int y = 0;
	int x = 16;
//                  x>=1
//	x < 1? (y = x):(x < 10 ? (y = 2 * x - 1):(y = 3 * x - 11)); 
	
	y = (x < 1? (x):(x < 10 ? (2 * x - 1):(3 * x - 11)));
	
	printf("y == %d\n",y);

	return 0;
}

